how do solve right angle problems